Skip to content

Conversation

kmruiz
Copy link
Collaborator

@kmruiz kmruiz commented Aug 29, 2025

Proposed changes

Checklist

@Copilot Copilot AI review requested due to automatic review settings August 29, 2025 13:21
@kmruiz kmruiz requested a review from a team as a code owner August 29, 2025 13:21
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds retry mechanisms to test setup and teardown operations for Atlas integration tests to improve stability when the Atlas Dev environment is unstable.

  • Introduces beforeAllWithRetry and afterAllWithRetry helper functions with exponential backoff
  • Replaces standard beforeAll and afterAll calls with retry-enabled versions across test files
  • Removes explicit error handling in favor of centralized retry logic

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tests/integration/tools/atlas/atlasHelpers.ts Adds retry helper functions and updates withProject to use them
tests/integration/tools/atlas/projects.test.ts Replaces afterAll with afterAllWithRetry
tests/integration/tools/atlas/clusters.test.ts Replaces both beforeAll and afterAll with retry versions
tests/integration/tools/atlas/accessLists.test.ts Replaces both beforeAll and afterAll with retry versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kmruiz
Copy link
Collaborator Author

kmruiz commented Sep 1, 2025

We did a few fixes and this might not be necessary. I'll close the PR and we can implement retries afterwards if we need to.

@kmruiz kmruiz closed this Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant